package parser;

import antlr.RecognitionException;

class RaiseStmt extends Stmt {
    
    Expr except;
    
    RaiseStmt(Expr except) {
        this.except = except;
    }
 
    
    void write(ByteStream out) throws RecognitionException {
        out.line(line);
        except.write(out);
        out.write(Opcodes.RAISE);
    }
    
}
